import 'package:flutter/material.dart';
import 'package:lx_widgets_library/const/color.dart';

// 主题色类型
enum ThemeColorType {
  inmotion,
  tewa;

  // 颜色1
  Color get color1 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion1;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto1;
    }
  }

  // 颜色2
  Color get color2 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion2;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto2;
    }
  }

  // 颜色3
  Color get color3 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion3;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto3;
    }
  }

  // 颜色4
  Color get color4 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion4;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto4;
    }
  }

  // 颜色5
  Color get color5 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion5;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto5;
    }
  }

  // 颜色6
  Color get color6 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion6;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto6;
    }
  }

  // 颜色7
  Color get color7 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion7;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto7;
    }
  }

  // 颜色8
  Color get color8 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion8;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto8;
    }
  }

  // 颜色9
  Color get color9 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion9;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto9;
    }
  }

  // 颜色10
  Color get color10 {
    switch (this) {
      case ThemeColorType.inmotion:
        return InmotionThemeColor.inmotion10;
      case ThemeColorType.tewa:
        return TewaThemeColor.moto10;
    }
  }
}
